package com.lavegue.model;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.sun.org.apache.bcel.internal.generic.NEW;

/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */

public class UserInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String city;
	private String zone;
	private String province;
	private String userName;
	private String account;
	private String password;
	private String pwdQuestion;
	private String pwdAnswer;
	private Date addDate;
	/* 20120109 添加时间字段 */
	private Date beginDate;
	private Date endDate;
	private Date recentlyLoginDate;
	private Company company;
	private Integer type;
	private String email;
	private String qq;
	private String personalHonepage;
	private String personalIntro;
	private String personalIco;
	private BigDecimal balance;
	private Integer msgCnt = 0;
	private Integer flagdel; //删除用户[1:删除]
	private Date lastSendMsg;
	private List<SysMsg> sysmsgs;
	// Constructors

	/** default constructor */
	public UserInfo() {
	}

	public Date getLastSendMsg() {
		return lastSendMsg;
	}

	public void setLastSendMsg(Date lastSendMsg) {
		this.lastSendMsg = lastSendMsg;
	}

	public Integer getMsgCnt() {
		return msgCnt;
	}


	public void setMsgCnt(Integer msgCnt) {
		this.msgCnt = msgCnt;
	}


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	
	public String getCity() {
		return city;
	}


	public void setCity(String city) {
		this.city = city;
	}


	public String getZone() {
		return zone;
	}


	public void setZone(String zone) {
		this.zone = zone;
	}


	public String getProvince() {
		return province;
	}


	public void setProvince(String province) {
		this.province = province;
	}

	public Date getAddDate() {
		return addDate;
	}

	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}
	
	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Date getRecentlyLoginDate() {
		return recentlyLoginDate;
	}

	public void setRecentlyLoginDate(Date recentlyLoginDate) {
		this.recentlyLoginDate = recentlyLoginDate;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPwdQuestion() {
		return this.pwdQuestion;
	}

	public void setPwdQuestion(String pwdQuestion) {
		this.pwdQuestion = pwdQuestion;
	}

	public String getPwdAnswer() {
		return this.pwdAnswer;
	}

	public void setPwdAnswer(String pwdAnswer) {
		this.pwdAnswer = pwdAnswer;
	}


	public Company getCompany() {
		return company;
	}


	public void setCompany(Company company) {
		this.company = company;
	}


	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getQq() {
		return this.qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getPersonalHonepage() {
		return this.personalHonepage;
	}

	public void setPersonalHonepage(String personalHonepage) {
		this.personalHonepage = personalHonepage;
	}

	public String getPersonalIntro() {
		return this.personalIntro;
	}

	public void setPersonalIntro(String personalIntro) {
		this.personalIntro = personalIntro;
	}

	public String getPersonalIco() {
		return this.personalIco;
	}

	public void setPersonalIco(String personalIco) {
		this.personalIco = personalIco;
	}

	public List<SysMsg> getSysmsgs() {
		return sysmsgs;
	}

	public void setSysmsgs(List<SysMsg> sysmsgs) {
		this.sysmsgs = sysmsgs;
	}

	public Integer getFlagdel() {
		return flagdel;
	}

	public void setFlagdel(Integer flagdel) {
		this.flagdel = flagdel;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}
	
}